home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr48 / 386p_200.zip / PIX.INC < prev    next >
Text File  |  1994-10-17  |  1KB  |  30 lines

  1. extrn  _Pix: near
  2.         ; it plots a pixel 
  3.         ; edi= scr_dest base offset
  4.         ; eax= x in pixels ; edx= y in pixels ; cl= color
  5.  
  6. extrn _Line: near
  7.         ; plots a line
  8.         ; edi= scr_dest base offset
  9.         ; eax= x1, edx=y1
  10.         ; ecx= x2, ebx=y2
  11.         ; esi= colour
  12.  
  13. extrn _Block: near
  14.         ; it blits a single color block on screen using "nudget" copy
  15.         ;edi = scr_dest base offset    ;esi = color (4 byte pattern)
  16.         ;eax = x position in pixels    ;edx = y position in pixels
  17.         ;ecx = block width in nudgets  ;ebx = block height in pixels
  18.  
  19. extrn _Rectangle: near
  20.         ; it blits a single color block on screen using "byte" copy
  21.         ; (slower than _Block)
  22.         ;edi = scr_dest base offset    ;esi = color (into lower byte)
  23.         ;eax = x position in pixels    ;edx = y position in pixels
  24.         ;ecx = block width in pixels   ;ebx = block height in pixels
  25.          
  26. extrn _ScrClr: near
  27.         ; clears screen buffer
  28.         ; eax = 4pixel pattern to use
  29.         
  30.